use leptos::*;

#[component]
pub fn Button(#[prop(into)] text: String) -> impl IntoView {
    view! {
       <button class="px-4 py-2 text-xl bg-sky-500 text-white rounded-lg w-full">{text}</button>
    }
}
